#include "syscall.h"


void test4_c2()
{
	int lock=0;
	int condition=0;
	WriteFormat("----------Test caes IV----------\n",34,0,0);
	WriteFormat("Test 4: This client is ready to wait on Condition %d \n",55,&condition,1);
	RemoteAcquireLock(lock);
	RemoteWaitCondition(condition,lock);
	WriteFormat("t2t2: Test2_thread2 is wake up from Condition %d \n",51,&condition,1);
	RemoteReleaseLock(lock);
	WriteFormat("---------- test end  ----------\n",33,0,0);
	Exit(0);
}
int main()
{
	test4_c2();
}
